CVE-2022-23654
Improper write access check in Requarks/wiki
Description
Wiki.js is a wiki app built on Node.js. In affected versions an authenticated user with write access on a restricted set of paths can update a page outside the allowed paths by specifying a different target page ID while keeping the path intact. The access control incorrectly check the path access against the user-provided values instead of the actual path associated to the page ID. Commit https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b fixes this vulnerability by checking access control on the path associated with the page ID instead of the user-provided value. When the path is different than the current value, a second access control check is then performed on the user-provided path before the move operation.
INFO
Published Date :
Feb. 22, 2022, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 6:49 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | LOW | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Public PoC/Exploit Available at Github
                                            CVE-2022-23654 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2022-23654.
                                        
| URL | Resource | 
|---|---|
| https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b | Patch Third Party Advisory | 
| https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j | Patch Third Party Advisory | 
| https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b | Patch Third Party Advisory | 
| https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j | Patch Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2022-23654 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2022-23654
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC
cve-2020-
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2022-23654 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2022-23654 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b Added Reference https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j  - 
                            
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value  - 
                            
Reanalysis by [email protected]
Jul. 24, 2023
Action Type Old Value New Value Removed CWE NIST CWE-287 Added CWE NIST NVD-CWE-Other  - 
                            
Initial Analysis by [email protected]
Mar. 01, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:M/Au:S/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b No Types Assigned https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b Patch, Third Party Advisory Changed Reference Type https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j No Types Assigned https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j Patch, Third Party Advisory Added CWE NIST CWE-287 Added CPE Configuration OR *cpe:2.3:a:requarks:wiki.js:*:*:*:*:*:*:*:* versions up to (excluding) 2.5.276  
Vulnerability Scoring Details
Base CVSS Score: 8.1
Base CVSS Score: 3.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.24 }} -0.01%
score
0.47501
percentile